/*
 * Binding.java - Copyright Mar 9, 2012 Z Networks Group, Inc. All rights reserved.
 * Z Networks Group PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.andromeda.skadi.property;

/**
 * TODO 
 * @author Dickinson Roman Arismendy Torres
 */
public class Binding<T> {

    private boolean lazy = false;
    private Property<T> source;
    private Property<T> target;

    /**
     * @return the lazy
     */
    public boolean isLazy() {
        return lazy;
    }

    /**
     * @param lazy the lazy to set
     */
    public void setLazy(boolean lazy) {
        this.lazy = lazy;
    }

    /**
     * @return the source
     */
    public Property<T> getSource() {
        return source;
    }

    /**
     * @param source the source to set
     */
    public void setSource(Property<T> source) {
        this.source = source;
    }

    /**
     * @return the target
     */
    public Property<T> getTarget() {
        return target;
    }

    /**
     * @param target the target to set
     */
    public void setTarget(Property<T> target) {
        this.target = target;
    }
}
